home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cato / Xm / XmTextSetSource.z / XmTextSetSource
Encoding:
Text File  |  2002-10-03  |  4.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSoooouuuurrrrcccceeee((((3333XXXX))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV       XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSoooouuuurrrrcccceeee((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSoooouuuurrrrcccceeee - A Text function that sets the source of
  10.           the widget
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////TTTTeeeexxxxtttt....hhhh>>>>
  14.  
  15.           vvvvooooiiiidddd XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSoooouuuurrrrcccceeee ((((_w_i_d_g_e_t, _s_o_u_r_c_e, _t_o_p__c_h_a_r_a_c_t_e_r, _c_u_r_s_o_r__p_o_s_i_t_i_o_n))))
  16.                WWWWiiiiddddggggeeeetttt    _w_i_d_g_e_t;;;;
  17.                XXXXmmmmTTTTeeeexxxxttttSSSSoooouuuurrrrcccceeee_s_o_u_r_c_e;;;;
  18.                XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn_t_o_p__c_h_a_r_a_c_t_e_r;;;;
  19.                XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn_c_u_r_s_o_r__p_o_s_i_t_i_o_n;;;;
  20.  
  21.  
  22.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  23.           This page documents version 1.2 of the Motif library.
  24.  
  25.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.           XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSoooouuuurrrrcccceeee sets the source of the Text widget.  Text
  27.           widgets can share sources of text so that editing in one
  28.           widget is reflected in another.  This function sets the
  29.           source of one widget so that it can share the source of
  30.           another widget.
  31.  
  32.           Setting a new text source destroys the old text source if no
  33.           other Text widgets are using that source.  To replace a text
  34.           source but keep it for later use, create an unmanaged Text
  35.           widget and set its source to the text source you want to
  36.           keep.
  37.  
  38.  
  39.           _w_i_d_g_e_t Specifies the Text widget ID
  40.  
  41.           _s_o_u_r_c_e Specifies the source with which the widget displays
  42.                  text.  This can be a value returned by the
  43.                  XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttSSSSoooouuuurrrrcccceeee((((3333XXXX)))) function.  If no source is
  44.                  specified, the widget creates a default string
  45.                  source.
  46.  
  47.           _t_o_p__c_h_a_r_a_c_t_e_r
  48.                  Specifies the position in the text to display at the
  49.                  top of the widget.  This is an integer number of
  50.                  characters from the beginning of the text buffer.
  51.                  The first character position is 0.
  52.  
  53.           _c_u_r_s_o_r__p_o_s_i_t_i_o_n
  54.                  Specifies the position in the text at which the
  55.                  insert cursor is located.  This is an integer number
  56.                  of characters from the beginning of the text buffer.
  57.                  The first character position is 0.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSoooouuuurrrrcccceeee((((3333XXXX))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV       XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSoooouuuurrrrcccceeee((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           For a complete definition of Text and its associated
  75.           resources, see XXXXmmmmTTTTeeeexxxxtttt((((3333XXXX)))).
  76.  
  77.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  78.           XXXXmmmmTTTTeeeexxxxtttt((((3333XXXX)))).
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.